package mapper;

import entity.Log;
import org.apache.ibatis.annotations.Update;

import java.util.List;
import java.util.Map;

/**
 * @Author Administrator
 * @create 2020.06.20 上午 10:17
 */
public interface LogMapper {
    int insert(Log log);

    List<Log> selectByMap(Map<String, Object> params);
    @Update("truncate table log")
    void empty();

}
